Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support different message encoding formats #70

Merged
merged 2 commits into from
Apr 3, 2020

Conversation

coder-hugo
Copy link
Contributor

This PR adds support for different message encoding formats (hex, base64). The current implementation just supports hex when using the lazy methods but it's quite common to use the base64 encoding for encrypted content.
To not break the public API of LazySodium this PR doesn't touch any of the static methods for the hex encoding it just uses them in the HexMessageEncoder.

@gurpreet-
Copy link
Contributor

This is more than amazing stuff! I had always planned to do this. Many thanks!

@gurpreet- gurpreet- self-assigned this Apr 3, 2020
@gurpreet- gurpreet- added the enhancement New feature or request label Apr 3, 2020
@gurpreet- gurpreet- merged commit 9af6b2a into terl:master Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants